package com.kxc.entity;

public enum WarnState {

	NORMAL("正常 ",1), BLUE("蓝色预警",2), YELLOW("黄色预警",3), ORANGE("橙色预警",4), RED("红色预警",5),UNKNOW("未知",6);
	// 成员变量  
	private String name;  
	private int index;
	private WarnState(String name, int index) {
		this.name = name;
		this.index = index;
	}



	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	} 

}
